#include <stdio.h>

int main()
{
    char *cBooks[] = {
        "C程序设计语言",
        "C专家编程",
        "C和指针",
        "C陷进与缺陷",
        "C primer Plus",
        "带你学C带你飞"
    };

    char **byFishC = &cBooks[5];  // 指向最后一本书
    char *jiayuLoves[] = {cBooks[0], cBooks[1], cBooks[2], cBooks[3]};  // 直接赋值

    int i;
    int booksCount = sizeof(jiayuLoves) / sizeof(jiayuLoves[0]);  // 动态计算数组大小

    printf("FishC：%s\n", *byFishC);
    printf("小甲鱼喜欢的图书有：\n");

    for (i = 0; i < booksCount; i++)  // 使用动态大小的变量控制循环
    {
        printf("%s\n", jiayuLoves[i]);
    }

    return 0;
}

